import { get, post } from '@/uitls/axios';


export const queryLatestMarketConditionFnAPi = () => {
  return new Promise((resolve, reject) => {
    get('/apis/market/searchMarketCondition')
     .then((response) => {
        resolve(response);
      })
     .catch((error) => {
        reject(error);
      });
  });
};


export const searchUiKlineFnAPi = (data:any) => {
  return new Promise((resolve, reject) => {
    get('/apis/market/searchUiKline',data)
     .then((response) => {
        resolve(response);
      })
     .catch((error) => {
        reject(error);
      });
  });
};